package com.xplay.xpocker.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xplay.xpocker.entity.GameHiRoom;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xplay.xpocker.entity.GameHiRoomDTO;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author xplay
 * @since 2024-05-12
 */
public interface GameHiRoomMapper extends BaseMapper<GameHiRoom> {

    List<GameHiRoomDTO> queryUserHistoryRoomInfo(IPage<GameHiRoomDTO> page,@Param(value = "userId") BigDecimal userId);
    List<GameHiRoomDTO> queryUserHistoryRoomItemInfo(BigDecimal roomId);

}
